require 'scanner/states/state'
require 'scanner/states/start_state'

class OperatorEqualState < State
  @token_type = :Operator
  @complete = false
  
  def self.next_state(char)
    if char == '=' and !@complete
      @complete = true
      return OperatorEqualState
    else
      @complete = false
      return StartState
    end
  end
end